package com.ygqh.baby.service;
import java.util.List;

import com.ygqh.baby.ao.QueryInfo;
import  com.ygqh.baby.ao.ResultSet;
import  com.ygqh.baby.po.YgPages;

public interface YgPagesService {

    
    List<YgPages> find();
	int findCount();
	YgPages findById(Long id);
	int deleteSoft(Long[] ids);
	int deleteSoft(Long id);
	int save(YgPages ygPages );
	int update(YgPages ygPages);
	int saveOrUpdate(YgPages ygPages);
	ResultSet<YgPages> search(QueryInfo queryInfo,String q);
	long saveAndReturnId(YgPages ygPages);
	String findAdvertisingPage();
	
	
    
}
